body{
}

div{
    width: 200px;
    height: 50px;
    margin: auto;
}

.test{
    /*background:-webkit-linear-gradient(bottom,rgba(0,0,0,1),rgba(1,0,0,0))*/
    background:-webkit-gradient(linear,right,white,black)
}

